package com.lytoyo.neihanduanzi.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lytoyo.neihanduanzi.model.Result;
import com.lytoyo.neihanduanzi.model.user.UserAttention;

/**
 * Package:com.lytoyo.neihanduanzi.service
 *
 * @ClassName:UserAttentionService
 * @Create:2025/4/29 10:23
 **/
public interface UserAttentionService extends IService<UserAttention> {
    /**
     * 关注用户
     * @param userId
     * @param fan
     * @return
     */
    Result attention(Long userId,Long fan);

    /**
     * 取消关注
     * @param userId
     * @return
     */
    Result subAttention(Long userId,Long fan);
}
